package com.gabry.examples;

/**
 * Created by ShaoJie.Wu on 2017/1/11 9:17.
 * 功能：
 *      测试在函数内部获取调用关系
 * 备注：
 */
public class TDependency {
    public static void main(String[] args) {
        ISayHello a = new ClassA(null);
        ISayHello b = new ClassB(a);
        ISayHello c = new ClassC(b);
        c.SayHello();
        System.out.println("Hello TDependency");
    }
}
